//
//  ZWRegisterController.swift
//  weiboXue
//
//  Created by xue-iOS-work on 16/8/31.
//  Copyright © 2016年 iOS-work. All rights reserved.
//

import UIKit

class ZWRegisterController: UIViewController {

    override func viewDidLoad() {
        super.viewDidLoad()

        view.backgroundColor = UIColor.white
        // 左边取消
        navigationItem.leftBarButtonItem = UIBarButtonItem(imageName: nil
            , title: "关闭", style: .plain, target: self, action: #selector(closeBtn))
    }

    //关闭按钮点击事件
    func closeBtn() {
         dismiss(animated: true, completion: nil)
    }
    

}
